//
//  YHMachineServiceChargeModel.h
//  YHApp
//
//  Created by -- on 2021/7/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class YHMachineServiceChargeCustomerModel;

@interface HAMachineServiceChargeMo : NSObject

//customer
@property (nonatomic, strong) YHMachineServiceChargeCustomerModel *customer;
//disabled = 1;
@property (nonatomic, assign) BOOL disabled;// 是否可以提交，false可以，true不可以
//policy = "\U5feb\U94b1\U8fd4\U73b050";
@property (nonatomic, strong) NSString *policy;
/***/
@property (nonatomic, strong) NSArray *rates;
//sn = 911908139504854;
@property (nonatomic, strong) NSString *sn;
//term =     {
//    batch = 210628184714;
//    "bind_time" = 0;
//    "created_at" = 1624864902;
//    "customer_id" = 17;
//    customermata =         {
//        "canal_code" = amwiwi;
//        "created_at" = 1623163541;
//        customer =             {
//            "agent_id" = 10001;
//            "canal_code" = "<null>";
//            "created_at" = 1623059588;
//            id = 5;
//            identity = "<null>";
//            "merchant_id" = "<null>";
//            mobile = "186****4230";
//            number = "<null>";
//            "oem_id" = 20210002;
//            region = "<null>";
//            "short_name" = "\U4e2a\U4f53\U5546\U6237\U9ec4\U6653\U5a77";
//            state = "<null>";
//            status = 1;
//            surname = "\U4e2a\U4f53\U5546\U6237\U9ec4\U6653\U5a77";
//            "term_id" = 0;
//            "term_sn" = 9017082020092386;
//            "updated_at" = 1625631034;
//        };
//        "customer_id" = 5;
//        id = 5;
//        mates = "{\"sysRespDesc\":\"\U4ea4\U6613\U6210\U529f\",\"agentId\":\"68010458\",\"amount\":\"10000\",\"batchNo\":\"000001\",\"authCode\":\"000194\",\"sysRespCode\":\"00\",\"traceNo\":\"000002\",\"settleAmount\":\"100\",\"cardType\":\"1\",\"settleDate\":\"20210609\",\"mobileNo\":\"186****4230\",\"feeType\":\"B\",\"cardNo\":\"625164******9889\",\"termModel\":\"NEW7220\",\"merchLevel\":\"3\",\"merchantName\":\"\U4e2a\U4f53\U5546\U6237\U9ec4\U6653\U5a77\",\"rrn\":\"141553154770\",\"sysTraceNo\":\"000002\",\"termId\":\"B063927d\",\"termSn\":\"000006027280507810\",\"tranTime\":\"20210608141553\",\"merchantId\":\"150446494020362\",\"inputMode\":\"071\",\"tranCode\":\"020000\"}";
//        merCityId = "<null>";
//        merProvinceId = "<null>";
//        merType = "<null>";
//        merchLevel = 3;
//        mobile = "<null>";
//        number = 150446494020362;
//        sn = 911908139504854;
//        "sn_id" = 94;
//        status = 0;
//    };
//    id = 94;
//    "is_dial" = 1;
//    "is_service" = 1;
//    "is_valid" = 0;
//    options =         {
//        "alipay_rate" = "0.380";
//        "card_max_free" = "40.00";
//        "card_rate" = "0.600";
//        "cloud_card_rate" = "0.380";
//        "cloud_rate" = "0.380";
//        rate = "0.600";
//        "wechat_rate" = "0.380";
//    };
//    policy =         {
//        "allow_oem" = 0;
//        "canal_code" = amwiwi;
//        content = "";
//        "created_at" = 1624009423;
//        deleted = "<null>";
//        "end_date" = "2022-07-31";
//        id = 10;
//        name = "\U5feb\U94b1\U8fd4\U73b050";
//        "oem_id" = 0;
//        options =             {
//            "alipay_rate" = "0.380";
//            "card_max_free" = "18.00";
//            "card_rate" = "0.600";
//            "cloud_card_rate" = "0.380";
//            "cloud_rate" = "0.380";
//            rate = "0.600";
//            "wechat_rate" = "0.380";
//        };
//        "start_date" = "2021-07-01";
//        status = 1;
//        trade =             {
//            "alipay_rate" =                 {
//                "max_trade" = "0.400";
//                "min_trade" = "0.300";
//            };
//            "card_max_free" =                 {
//                "max_trade" = "60.00";
//                "min_trade" = "18.00";
//            };
//            "card_rate" =                 {
//                "max_trade" = "0.600";
//                "min_trade" = "0.530";
//            };
//            "cloud_card_rate" =                 {
//                "max_trade" = "0.400";
//                "min_trade" = "0.300";
//            };
//            "cloud_rate" =                 {
//                "max_trade" = "0.400";
//                "min_trade" = "0.300";
//            };
//            rate =                 {
//                "max_trade" = "0.600";
//                "min_trade" = "0.530";
//            };
//            "wechat_rate" =                 {
//                "max_trade" = "0.400";
//                "min_trade" = "0.300";
//            };
//        };
//        "updated_at" = 1626671821;
//    };
//    "policy_id" = 10;
//    product =         {
//        "canal_code" = amwiwi;
//        "canal_id" = 0;
//        content = "";
//        "created_at" = 1624009350;
//        factory = "<null>";
//        id = 3;
//        model = "<null>";
//        name = "\U5feb\U94b1Y";
//        status = 1;
//        thumb = "<null>";
//        "updated_at" = 1626666854;
//    };
//    "product_id" = 3;
//    sn = 911908139504854;
//    sns =         {
//        "agent_id" = 10001;
//        "created_at" = 1624866255;
//        id = 144;
//        "oem_id" = 20210002;
//        options = "<null>";
//        "rate_id" = "<null>";
//        "sn_id" = 94;
//        "state_label" = "";
//        "updated_at" = 1624866255;
//    };
//    state = 2;
//    "state_label" = "\U5df2\U6fc0\U6d3b";
//    status = 1;
//    termActivNo = "<null>";
//    "term_id" = 0;
//};

@end

@interface YHMachineServiceChargeRatesModel : NSObject

//award = "0.00";
@property (nonatomic, strong) NSString *award;
//code = deposit;
@property (nonatomic, strong) NSString *code;
//"created_at" = 1625196144;
@property (nonatomic, strong) NSString *created_at;
//deleted = "<null>";
@property (nonatomic, strong) NSString *deleted;
//disabled = 1;
@property (nonatomic, strong) NSString *disabled;
//"end_days" = "<null>";
@property (nonatomic, strong) NSString *end_days;
//id = 38;
@property (nonatomic, strong) NSString *ID;
//"is_custom" = 1;
@property (nonatomic, strong) NSString *is_custom;
//"is_service" = 1;
@property (nonatomic, strong) NSString *is_service;
//"max_money" = "299.00";
@property (nonatomic, strong) NSString *max_money;
//"min_money" = "0.00";
@property (nonatomic, strong) NSString *min_money;
//name = "\U673a\U5177\U670d\U52a1\U8d39";
@property (nonatomic, strong) NSString *name;
//"oem_id" = 0;
@property (nonatomic, strong) NSString *oem_id;
//"parent_id" = 0;
@property (nonatomic, strong) NSString *parent_id;
//"policy_id" = 10;
@property (nonatomic, strong) NSString *policy_id;
//"start_days" = "<null>";
@property (nonatomic, strong) NSString *start_days;
//status = 1;
@property (nonatomic, strong) NSString *status;
//total = "0.00";
@property (nonatomic, strong) NSString *total;
//"updated_at" = 1626785924;
@property (nonatomic, strong) NSString *updated_at;
//value = "0.00";
@property (nonatomic, strong) NSString *value;
/***/
@property (nonatomic, strong) NSString *amountList;

@end

@interface YHMachineServiceChargeCustomerModel : NSObject

//"agent_id" = 10001;
//"canal_code" = "<null>";
//"created_at" = 1623059588;
//id = 5;
//identity = "<null>";
//"merchant_id" = "<null>";
//mobile = "186****4230";
//number = "<null>";
@property (nonatomic, strong) NSString *number;
//"oem_id" = 20210002;
//region = "<null>";
//"short_name" = "\U4e2a\U4f53\U5546\U6237\U9ec4\U6653\U5a77";
//state = "<null>";
//status = 1;
//surname = "\U4e2a\U4f53\U5546\U6237\U9ec4\U6653\U5a77";
@property (nonatomic, strong) NSString *surname;
//"term_id" = 0;
//"term_sn" = 9017082020092386;
//"updated_at" = 1625631034;

@end

NS_ASSUME_NONNULL_END

